package day5;

public class Rent {
    private String vehicleid;
    private String brand;
    private int days;
    private double money;

    public Rent(String vehicleid, String brand, int days, double money) {
        this.vehicleid = vehicleid;
        this.brand = brand;
        this.days = days;
        this.money = money;
    }

    public String getVehicleid() {
        return vehicleid;
    }

    public void setVehicleid(String vehicleid) {
        this.vehicleid = vehicleid;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public int getDays() {
        return days;
    }

    public void setDays(int days) {
        this.days = days;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }
    public void show(){
        System.out.println("品牌："+getBrand()+"车牌号："+getVehicleid()+"租了："+getDays()+"天 租金："+getMoney());
    }
}
